package cn.edu.zust.se.api.entity.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (TShareLink)实体类
 *
 * @author makejava
 * @since 2023-12-12 16:50:12
 */
@Data
public class ShareLinkVo implements Serializable {
    private static final long serialVersionUID = -96721640776619213L;
    /**
     * 分享链接id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 用户Id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    /**
     * 链接地址
     */
    private String path;
    /**
     * 提取码
     */
    private String code;
    /**
     * 文件id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long fileId;
    /**
     * 文件夹id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long folderId;
    /**
     * 到期时间
     */
    private Date expirationTime;
    /**
     * 是否删除
     */
    private Integer delFlag;


}

